<%@ include file="/WEB-INF/views/commons/header.jsp" %>
<%@ include file="/WEB-INF/views/commons/menu.jsp" %>
<!-- START BODY -->
<link href="<pc:GetUrlUriTags value="/resources/css/registration/registration_css.css" />" media="screen" rel="stylesheet" type="text/css" />
<link href="<pc:GetUrlUriTags value="/resources/css/search/search.css" />" media="screen" rel="stylesheet" type="text/css" />
	

<table class="topSubject" width="100%" border="0">  
  <tr>
    <td height="30px"  width="34px">
    	<img alt="" src="<pc:GetUrlUriTags value="/resources/image/icons/png_apps/32x32/cloud-1.png" />" style="text-decoration: none; border-width: 0px;">
    </td>
    <td height="30px" align="left">
    	<div>
			<strong><a href="<pc:GetUrlUriTags value="/security/user/register/list" />" class="topSubjectText">
			&nbsp;Security Create User  			
			</a></strong>
		</div>
    </td>
  </tr>
</table>

<div class="topSubject" style="width: 100%; height:auto; vertical-align: middle; text-align:center; ">
<form:form id="ObjectForm-form"  modelattribute="ObjectForm" commandName="ObjectForm" method="post" action="create">
<table style="border-width: 1px; border-color: #D8D8D8; border-style: solid; padding: 5px; width: 100%">
  <tr>
    <td>
		<table class="topSubject" style="display: inline-block;text-align:left;">
			<tr>		
				<td>
					<div style="padding: 5px;">
						<span style="color: red; font-size: small;">${message}</span>
						<table class="topSubject">
							<tr>
								<td colspan="2"> 
										<label class="labelEnter">UserLogin</label>
										<form:input path="userLogin" cssClass="TextboxEnter" autofocus="autofocus"/>
										<form:hidden path="pkId" />
										<form:errors path="userLogin" cssClass="error"></form:errors>
								</td>					
							</tr>
							<tr>
								<td>
									<label class="labelEnter">Password</label>
									<form:password path="password" cssClass="TextboxEnter"  autofocus="autofocus"/>
									<form:errors path="password" cssClass="error"></form:errors>
							  	</td>
								<td>
									<label class="labelEnter">Re-Password</label>
									<form:password path="repassword" cssClass="TextboxEnter"  autofocus="autofocus" onclick="checkSamePwd()" />
									<form:errors path="repassword" cssClass="error"></form:errors>
							  	</td>				  					  
							</tr>
							<tr>
								<td colspan="2">						
									<label class="labelEnter">Title Name</label>
									<form:input path="titleName" cssClass="TextboxEnter"  autofocus="autofocus"/>
									<form:errors path="titleName" cssClass="error"></form:errors>
								</td>
							</tr>
							<tr>	
								<td>
									<label class="labelEnter">First Name</label>
									<form:input path="firstName" cssClass="TextboxEnter"  autofocus="autofocus"/>
									<form:errors path="firstName" cssClass="error"></form:errors>
							  	</td>				  
							  	<td>
									<label class="labelEnter">Last Name</label>
									<form:input path="lastName" cssClass="TextboxEnter"  autofocus="autofocus"/>
									<form:errors path="lastName" cssClass="error"></form:errors>
							  	</td>					  	
							  	
							</tr>
							<tr>
								<td>
									<label class="labelEnter">Is Active</label>
									<form:radiobutton path="isactive" value="Y" />&nbsp; Active
									<form:radiobutton path="isactive" value="N" />&nbsp; InActive
									<form:errors path="isactive" cssClass="error"></form:errors>
							  	</td>
								<td>
									<label class="labelEnter">status</label>				
									<form:radiobutton path="status" value="O" />&nbsp; Open
									<form:radiobutton path="status" value="A" />&nbsp; Approved
									<form:radiobutton path="status" value="C" />&nbsp; Cancelled
									<form:hidden path="statusText"/>
									<form:errors path="statusText" cssClass="error"></form:errors>
							  	</td>
							  	
							</tr>
							<tr>
								<td colspan="2" >
									<label class="labelEnter">Description</label>
									<form:textarea path="description" cssClass="TextAreaEnter"/>
									<form:errors path="description" cssClass="error"></form:errors>
							  	</td>				  	
							</tr>
							<tr>
								<td colspan="2">
									<label class="labelEnter">Expired Date</label>
									<form:input path="expiredDate" cssClass="TextboxEnter"  autofocus="autofocus"/>
									<form:errors path="expiredDate" cssClass="error"></form:errors>
								</td>
							</tr>
							<tr>
								<td>
									<label class="labelEnter">Create On</label>
									<form:input path="createdOn"  readonly="true" cssClass="TextboxEnter"  autofocus="autofocus"/>
									<form:errors path="createdOn" cssClass="error"></form:errors>
								</td>				
							  	<td>
									<label class="labelEnter">Create By</label>
									<form:input path="createdByName"  readonly="true" cssClass="TextboxEnter" autofocus="autofocus"/>
									<form:hidden path="createdBy"/>
									<form:errors path="createdByName" cssClass="error"></form:errors>
							  	</td>		  	
				  			</tr>
				  			<tr>
				  				<td>
							  		<label class="labelEnter">Update On</label>
							  		<form:input path="updatedOn"  readonly="true" cssClass="TextboxEnter"  autofocus="autofocus"/>
									<form:errors path="updatedOn" cssClass="error"></form:errors>				  	
							  	</td>
							  	<td>
									<label class="labelEnter">Update By</label>
									<form:input path="updatedByName" readonly="true" cssClass="TextboxEnter"  autofocus="autofocus"/>
									<form:hidden path="updatedBy"/>
									<form:errors path="updatedByName" cssClass="error"></form:errors>
							  	</td>
				  			</tr>
						</table>					
					</div>
				</td>
			</tr>			
		</table>
	</td>
 	</tr>
 	<tr>
		<td style="text-align: right;">
				<input type="submit" class="button round blue image-right ic-right-add" value="Submit" /> &nbsp; 
				<input type="button" class="button round blue image-right ic-right-cancel" value="Cancel" />
		</td>
	</tr>
</table>
</form:form>

<script>
$(document).ready(function() {
 	setValue = function () {
        calendar.value($("#expiredDate").val());
    };
    $("#expiredDate").kendoDatePicker({
        format : "dd-MM-yyyy",
        change: setValue
    });
	
	setValue = function () {
        calendar.value($("#createdOn").val());
    };
    $("#createdOn").kendoDatePicker({
    	format : "dd-MM-yyyy",
        change: setValue
    });
    
    setValue = function () {
        calendar.value($("#updatedOn").val());
    };
    $("#updatedOn").kendoDatePicker({
    	format : "dd-MM-yyyy",
        change: setValue
    });
}); 
</script>

<link href="<pc:GetUrlUriTags value="/resources/kendoui.web.2013.2.716/content/shared/styles/examples-offline.css" />" rel="stylesheet" />
<link href="<pc:GetUrlUriTags value="/resources/kendoui.web.2013.2.716/styles/kendo.common.css" />" rel="stylesheet" />
<link href="<pc:GetUrlUriTags value="/resources/kendoui.web.2013.2.716/styles/kendo.default.css" />" rel="stylesheet" />
<script src="<pc:GetUrlUriTags value="/resources/kendoui.web.2013.2.716/js/jquery.min.js" />" ></script>
<script src="<pc:GetUrlUriTags value="/resources/kendoui.web.2013.2.716/js/kendo.web.js" />" ></script>
<script src="<pc:GetUrlUriTags value="/resources/kendoui.web.2013.2.716/content/shared/js/console.js" />" ></script>



</div>

<!-- END BODY -->
<%@ include file="/WEB-INF/views/commons/footer_backlogs.jsp" %>